package com.atguigu.common.constant;

/**
 * @author liuq
 * @version 1.0
 * @description:
 * @date 2021/2/18 14:13
 */
public class GulimallConstant {

    public static final String X_MESSAGE_TTL = "x-message-ttl";
    public static final String X_DEAD_LETTER_EXCHANGE = "x-dead-letter-exchange";
    public static final String X_DEAD_LETTER_ROUTING_KEY = "x-dead-letter-routing-key";

    // 获取发送MQ消息是所携带的唯一 correlation
    public static final String SPRING_RETURNED_MESSAGE_CORRELATION = "spring_returned_message_correlation";

    public static final String DATE_TIME_FORMATTER_STRING = "yyyy-MM-dd HH:mm:ss";
}
